* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: #666;
}

a:hover, a:link, a:visited, a:active {
  text-decoration: none;
  color: #666;
}

body, html {
  height: 100%;
}

p, h1, h2, h3 {
  margin: 0;
}

.nav-container {
	position: fixed;
  top: 0;
  left: 0;
  width: 20%;
  height: 100%;
  padding: 15px 10px 30px 20px;
  background-color: #2f4050;
  overflow: auto;
}

.chepter-title a {
  color: #a7b1c2;
  display: inline-block;
  line-height: 40px;
  font-size: 16px;
}

.doc-nav {
  margin-left: 10px;
}

.doc-body-container {
  float: right;
  background-color: #f7f7f7;
  width: 80%;
}

.doc-body {
  padding: 0 50px 50px;
}

.chepter-nav {
  margin-left: 30px;
}

.chepter-nav h2 a, .chepter-nav h3 a {
  color: #a7b1c2;
  display: inline-block;
  line-height: 30px;
  font-size: 14px;
}

.chepter-nav h2.active a, .chepter-nav h3.active a, .chepter-title a.active {
  color: #fff;
}

.chepter-nav h2:hover a, .chepter-nav h3:hover a {
  color: #fff;
}

.chepter-nav h3 {
  padding: 5px 0;
  margin-left: 20px;
  font-size: 14px;
}

#doc-container {
  min-height: 100%;
  margin-bottom: -263px;
  
}
#doc-container::after {
  content: "";
  display: block;
  height: 263px;
}

.doc-footer {
  padding: 30px 30px 0;
}

.doc-footer a {
  margin-bottom: 30px;
}

.doc-footer a {
  color: #fff;
}

.codetool {
  position: relative;
}
.codetool-inner {
  white-space: normal;
  position: absolute;
  top: -10px;
  right: 0;
  z-index: 1;
  height: 24px;
  background-color: rgba(0,0,0,0.75);
  padding: 0 5px;
}
.codetool-inner .tool-icon {
  cursor: pointer;
  display: block;
  float: left;
  height: 16px;
  width: 16px;
  background-size: auto 16px;
  margin: 4px 5px;
  opacity: .5;
}
.codetool-inner .tool-icon:hover {
  opacity: 1;
}
.select-code {
  background-image: url(../img/codeTools.svg);
}
.copy-code {
  background-image: url(../img/codeTools.svg);
  background-position: -16px 0 !important;
}
.tooltip-inner {
  font-size: 12px;
}

@media (max-width: 960px){
  .nav-container {
    display: none;
  }
  .doc-body-container {
      width: 100%;
  }
  .doc-body {
    padding: 0 20px 10px;
  }
}

@media (min-width: 960px) and (max-width: 1200px){
  .doc-body-container {
    width: 70%;
  }
  .nav-container {
    width: 30%;
  }
}



/*.code-container {
  .codetool {
    position: relative;
    &-inner {
      white-space: normal;
      position: absolute;
      top: -10px;
      right: 0;
      z-index: 1;
      height: 24px;
      background-color: rgba(218, 198, 59, 0.9);
      padding: 0 5px;
      .tool-icon {
        cursor: pointer;
        display: block;
        float: left;
        color: #fff;
        width: 16px;
        height: 16px;
        line-height: 1;
        font-size: 16px;
        margin: 4px 5px;
        opacity: .7;
        &:hover {
          opacity: 1;
        }
      }
    }
  }
}*/

pre[class*=language-] {
  border-left: 5px solid #3d7e9a;
  background: #eee;
  font-family: Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;
}
.language-css .token.string, .style .token.string, .token.entity, .token.operator, .token.url {
  background-color: transparent;
}
pre.line-numbers {
  padding-left: 3.8em;
}





